home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 51 / Amiga Format CD51 (2000-03-10)(Future Publishing)(GB)[!][issue 2000-04].iso / -in_the_mag- / pdselect / awnp / awnp-docs / getfont.doc < prev    next >
Text File  |  2000-02-16  |  2KB  |  103 lines

  1. GetFont gadget event.
  2. -------------------------
  3.  
  4. 'gadget GID  success fontname fontsize fontstyle fontflags'
  5.  
  6.  Success=0 user selected no font or canceled. Success!=0 user selected a font.
  7.  
  8. GetFont gadget parameters.
  9. -------------------------
  10.  
  11. font=GID
  12.  
  13. This sets the font for the gadgets text. The GID points to an ALREADY defined text attribute.
  14.  
  15. close (c)
  16.  
  17.  This gadget will close the window when selected by the user.
  18.  
  19. readonly (ro)
  20.  
  21.  This gadget is read only.
  22.  
  23. disable=number (dis=)
  24.  
  25.  The gadget is disabled if number = 0 , enabled if number != 0. Defaults to enabled.
  26.  
  27. gadgettext="font requester title" (gt=)
  28.  
  29.  Set the title of the file requester.
  30.  
  31. style
  32.  
  33.  This requester includes style settings.
  34.  
  35. fixed
  36.  
  37.  This requester includes fixed width fonts only.
  38.  
  39. Minn=num
  40. Maxn=num
  41.  
  42. The minimum and maximun font size allowed. Defaults to 6-20
  43.  
  44. Wide=num
  45. High=num
  46.  
  47.  Set the size of the requester when opened.
  48.  
  49. unattached    (ua)
  50.  
  51.  This file requester is not attached to the CA window. It may still be activated in the modify conversation.
  52.  
  53. minwidth=number (minw=)
  54.  
  55.  Set the minimum width for this gadget
  56.  
  57. minheight=number (minh=)
  58.  
  59.  Set the minimum height for this gadget
  60.  
  61. weightedwidth=number (weiw=)
  62.  
  63.  Set the weighted width for this gadget
  64.  
  65. weightedheight=number (weih=)
  66.  
  67.  Set the weighted height for this gadget
  68.  
  69. nominalsize (noms)
  70.  
  71.  Set this gadget to its nominal size.
  72.  
  73. tags="tags|data[|tag|data...]|0
  74.  
  75.  A list of tag and value pairs in HEX. Do not forget the trailing null !
  76.  
  77. childlabel    (chl) childlabelr   (chlr)
  78.  
  79.  Use the previously defined image as a childlabel for this gadget. Display the childlabel to the right or left of the gadget.
  80.  
  81. replace=GID
  82.  
  83.  Use this gadget to replace an existing gadget specified by GID.
  84.  
  85. Definition Reply
  86. -----------------
  87.  
  88.  When the gadget creation is successful the pipe replies
  89. with
  90.  
  91. 'ok GID'
  92.  
  93. GetFont gadget modify parameters.
  94. -------------------------
  95.  
  96. selected=number (sel=)
  97.  
  98. Number is ignored but must be given. This opens the font requester and the selected font is returned rather than a simple ok.
  99.  
  100. disable=number (dis=)
  101.  
  102.  The gadget is disabled if number = 0 , enabled if number != 0.
  103.